package com.company.oa.announcement.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.company.oa.announcement.entity.AnnouncementRead;
import org.apache.ibatis.annotations.Param;

public interface AnnouncementReadMapper extends BaseMapper<AnnouncementRead> {
    
    IPage<AnnouncementRead> selectReadRecordPage(Page<AnnouncementRead> page, @Param("announcementId") Long announcementId);
} 